Platform Explorer / Nuxeo Platform 2021.47

Contribution org.nuxeo.ecm.platform.preview.widgets--widgettypes

This contribution is part of XML component org.nuxeo.ecm.platform.preview.widgets inside nuxeo-preview-jsf-2021.47.4.jar /OSGI-INF/widgets-contrib.xml

Extension Point

Extension point widgettypes of component WebLayoutManager.

Registration Order

20
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widgetType name="documentPreview">
          <configuration>
            <sinceVersion>6.0</sinceVersion>
            <title>Document Preview</title>
            <description>
              <p>This widget type displays the document preview.</p>
            </description>
            <fields>
              <list>false</list>
              <complex>false</complex>
              <defaultConfiguration>
                <field>data</field>
              </defaultConfiguration>
            </fields>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/document_preview_widget.xhtml
          </property>
        </widgetType>

XML Source

<extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widgetType name="documentPreview">
      <configuration>
        <sinceVersion>6.0</sinceVersion>
        <title>Document Preview</title>
        <description>
          <p>This widget type displays the document preview.</p>
        </description>
        <fields>
          <list>false</list>
          <complex>false</complex>
          <defaultConfiguration>
            <field>data</field>
          </defaultConfiguration>
        </fields>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/document_preview_widget.xhtml
      </property>
    </widgetType>

  </extension>